package com.rambler.api.common.vo.qweather;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "和风天气城市信息")
public class QWeatherLocation {

    @Schema(description = "城市名称")
    private String name;

    @Schema(description = "城市ID")
    private String id;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "经度")
    private String lon;

    @Schema(description = "所属地区（地级市）")
    private String adm2;

    @Schema(description = "所属省份")
    private String adm1;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "时区名称")
    private String tz;

    @Schema(description = "UTC 偏移")
    private String utcOffset;

    @Schema(description = "是否夏令时 0：否，1：是")
    private String isDst;

    @Schema(description = "地区类型，例如 city、district")
    private String type;

    @Schema(description = "地区排名")
    private String rank;

    @Schema(description = "天气链接")
    private String fxLink;
}
